Basic Computer Skills .htm

Basic Computer Skills .htm

About us  Contact  post comment  Teb Computer Academy  

TEB   Computer  Kids  Academy



Data Science



Data Science - Statistics Correlation Matrix



Correlation Matrix
A matrix is simply an array of numbers arranged in rows and columns.
In short term, a correlation matrix is simply a table
showing the correlation coefficients between variables.
you can see here below that, the variables are represented in the
first row, and in the first column:



Observations:
1. that Duration and Calorie_Burnage are closely related,
with a correlation coefficient of 0.89.

it is logical,
the longer we train, the more calories we burn
2. that there is almost no linear relationships between
Average_Pulse and Calorie_Burnage (correlation coefficient of 0.02)

Correlation Matrix in Python

you can use the corr() function in Python to create a correlation matrix.
Also you can the round() function to round the output to two decimals:

Example
Corr_Matrix = round(full_health_data.corr(),2)
print(Corr_Matrix)


Output


Using a Heatmap
you can use a Heatmap to Visualize the Correlation Between Variables:


Observations:
The closer the correlation coefficient is to 1, the greener the squares get.
The closer the correlation coefficient is to -1, the browner the squares get.





Professional courses:

participant -Kids, Youths and Adults alike
learn and aquire these professional Courses

Professional Courses:


  • Informatiker

  • Website programming

  • IT Consultant

  • IT Security

  • Java Programming
  • Software Developer

  • IT Admin.

  • IT FORENSIC


  • Python Programming
  • programming with C++
  • Data Science



  • Are you parents, teachers or affiliate schools, pls. click here.








    click here to view 'KITAS' arround you